package com.mlnx.work.pojo.form;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Created by amanda.shan on 2020/12/28.
 */
@Data
@ApiModel("找回密码的model")
public class UserFindPassForm {

    @ApiModelProperty(value = "用户邮箱")
    @NotBlank(message = "用户邮箱不会能为空")
    private String username;

    @ApiModelProperty(value = "验证码")
    @NotBlank(message = "验证码不会能为空")
    private String code;

    @ApiModelProperty(value = "密码")
    @NotBlank(message = "密码不会能为空")
    private String pswd;
}
